﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;

namespace MvcBoost.EntityFramework
{
    public interface IConditionalActivity<TContext, TResource>          
        where TContext : DbContext
        where TResource: class
    {
        bool Matches(TContext context, TResource resource, bool isCreating);
    }
}
